'use strict';
var SERVER_CONFIG = require('../serverConfig/config');

module.exports = function(_path) {
  return {
    context: _path,
    debug: true,
    devtool: 'source-map',
    devServer: {
      contentBase: './dist',
      info: true,
      hot: false,
      inline: true,
      proxy: {
        '/com.fable*/*': {
          target: SERVER_CONFIG.SERVER_IP,
          secure: false
        }
      },
    }
  }
};
